package com.neusoft.service;

import java.math.BigDecimal;
import java.util.List;

import com.neusoft.po.Wallet;
import com.neusoft.po.WalletTrans;

public interface WalletService {

    public int saveWallet(String userId);

    public Wallet getWalletByUserid(String userId);

    public int updateMoney(String userId, BigDecimal account);

    public int operate(String userId,BigDecimal amount,Integer type);

    public List<WalletTrans> listWalletTransByUserId(String userId);
}
